﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Models
{
    /// <summary>
    /// 分页的辅助类
    /// </summary>
    /// <typeparam name="T"></typeparam>
    public class Pager<T>
    {
        /// <summary>
        /// 保存记录总条数
        /// </summary>
        public int Count { get; set; }
        /// <summary>
        /// 保存当前页的数据
        /// </summary>
        public List<T> Data { get; set; }
    }
}
